/*
 * @Author: byron
 * @Date: 2021-10-25 18:35:07
 * @LastEditTime: 2022-01-25 10:51:32
 */

import app from './modules/app.js'
import user from './modules/user.js'
import tag from './modules/tag.js'
import diary from './modules/diary.js'
import article from './modules/article.js'
import category from './modules/category.js'
import getters from './getters.js'
import Vuex from 'vuex'
import Vue from 'vue'

Vue.use(Vuex)

const debug = false

export default new Vuex.Store({
    modules: {
        app,
        user,
        article,
        tag,
        diary,
        category
    },
    getters,
    strict: debug,
})